package com.power.feign.sentinel;

import com.power.domain.Sku;
import com.power.feign.BasketProdFeign;
import com.power.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2024/07/22 14:14
 * @Version 1.0.0
 */
@Component
@Slf4j
public class ProductFeignFallback implements BasketProdFeign {


    @Override
    public Result<List<Sku>> getSkuListByIds(List<Long> skuIdList) {
        log.error("远程调用：根据skuId集合查询商品信息失败，服务熔断");
        return null;
    }
}
